/*
 * @Author: Suihen 3307940550@qq.com
 * @Date: 2025-03-13 09:49:55
 * @LastEditors: Suihen 3307940550@qq.com
 * @LastEditTime: 2025-03-13 10:09:58
 * @FilePath: \exam\vite.config.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { resolve } from 'path'


// https://vite.dev/config/
export default defineConfig({
  plugins: [vue()],
  server:{
    host: '0.0.0.0',
    port:8080,
    hmr:true,
    open:true
  },
   resolve:{
    alias:[
      {
        find: '@',
        replacement:resolve(__dirname,'src')
      }
    ]
   }
})
